package menuTest;

public class MenuController implements Runnable{

	Menu menu;
	public MenuController(Menu menu) {
		this.menu = menu;
	}

	@Override
	public void run() {
		
			while(true){
				switch(menu.getInput()){
				case "A":
					System.out.println("A modtaget af Menu");
					break;
				default: 
					System.out.println("Default modtaget");
					break;
				}
			

		}

	}
	
	public String rm20(){
		String out = menu.rm20();
		return out;
	}

}
